-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.6.3 (latest)
-
Code
-
Classes
- EnvironmentModel
Total Complexity |
71 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
424 |
Lines of code |
256 |
Logical lines of code |
139 |
Comment lines |
48 |
Methods |
23 |
Properties |
23 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setScreen() |
A |
47 |
9 |
37 |
plugin_active() |
A |
45 |
7 |
43 |
setWordPress() |
S |
60 |
7 |
12 |
setServer() |
S |
62 |
6 |
9 |
IsOverTimeLimit() |
S |
54 |
4 |
22 |
is_function_usable() |
S |
61 |
4 |
12 |
IsOverMemoryLimit() |
S |
56 |
3 |
18 |
setDefaultViewModeList() |
S |
61 |
3 |
13 |
determineFrontBack() |
S |
71 |
3 |
6 |
useTrustedMode() |
S |
69 |
3 |
7 |
useDoubleAvifExtension() |
S |
73 |
3 |
5 |
useDoubleWebpExtension() |
S |
73 |
3 |
5 |
unitToInt() |
S |
64 |
2 |
9 |
getInstance() |
S |
73 |
2 |
5 |
hasOffload() |
S |
66 |
2 |
8 |
hasImagick() |
S |
66 |
2 |
8 |
checkPHPVersion() |
S |
69 |
2 |
7 |
setIntegrations() |
S |
75 |
1 |
4 |
useVirtualHeavyFunctions() |
S |
75 |
1 |
4 |
getRelativePluginSlug() |
S |
66 |
1 |
8 |
getOffloadName() |
S |
72 |
1 |
5 |
getSystemLoad() |
S |
80 |
1 |
3 |
__construct() |
S |
70 |
1 |
6 |